Skip to main content

MetadataItem

MetadataItem Model

Defines the structure of a metadata item, representing key-value pairs with optional configuration references for document and block metadata.


key (string) Required

The metadata key identifier. Minimum length: 1 character.


values (array) Required

Array of string values associated with the metadata key.
Minimum items: 1
Item type: string
Item constraint: Minimum length: 1 character per value


metadata_config (integer, Nullable)

Reference to the metadata configuration that defines the structure and validation rules for this metadata item. Can be null if no specific configuration is applied.


Example

[
{
"key": "string",
"values": [
"string"
],
"metadata_config": 0
}
]